package router

import (
	"github.com/gin-gonic/gin"
	"week2-project/controller"
)

func Router(router *gin.Engine) {
	v1 := router.Group("/v1")
	{
		v1.POST("/list", controller.VideoList)
		v1.POST("/submit")
		v1.POST("/read")
	}

}
